#!/usr/bin/env bash
set -euo pipefail

# Wrapper to run the template bootstrap_dev.sh from templates/
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
TEMPLATE_SCRIPT="$SCRIPT_DIR/../templates/bootstrap_dev.sh"
if [[ ! -f "$TEMPLATE_SCRIPT" ]]; then
  echo "找不到 $TEMPLATE_SCRIPT" >&2
  exit 1
fi
chmod +x "$TEMPLATE_SCRIPT"
exec "$TEMPLATE_SCRIPT" "$@"
